package com.kx.smartdevice.pojo;

public class Area implements CheckEmptyInterface{

  private Long id;
  private String areaname;
  private Long parentid;
  private String status;
  private String parentname;//父区域名字, 冗余数据

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public String getParentname() {
    return parentname;
  }

  public void setParentname(String parentname) {
    this.parentname = parentname;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getAreaname() {
    return areaname;
  }

  public void setAreaname(String areaname) {
    this.areaname = areaname;
  }

  public Long getParentid() {
    return parentid;
  }

  public void setParentid(Long parentid) {
    this.parentid = parentid;
  }

  @Override
  public boolean isEmpty() {
    return areaname==null&&parentid==null&&status==null;
  }
}
